//
//  PPToolBarView.m
//  pickpic
//
//  Created by 胡文广 on 2017/9/28.
//  Copyright © 2017年 MicroDream. All rights reserved.
//

#import "PPToolBarView.h"

@implementation PPToolBarView
+ (instancetype)toolBarView{

    return [[NSBundle mainBundle] loadNibNamed:@"PPToolBarView" owner:self options:nil][0];
}
- (IBAction)cancelClick:(id)sender {
    
    if ([self.delegate respondsToSelector:@selector(toolBarView:didSelect:)]) {
        [self.delegate toolBarView:self didSelect:1];
    }
    
}
- (IBAction)downClick:(id)sender {
    if ([self.delegate respondsToSelector:@selector(toolBarView:didSelect:)]) {
        [self.delegate toolBarView:self didSelect:2];
    }
}

@end
